import Vue from 'vue';
import Vant from "vant";
import App from './App.vue';
import router from './router';
import store from './store';

import "amfe-flexible";
//开发阶段会有数据的模拟操作
import "./mock/index";
import "@/assets/less/global.less"

import "vant/lib/index.css";
import { Lazyload } from "vant";

Vue.use(Lazyload);

// 注册时可以配置额外的选项
Vue.use(Lazyload, {
  lazyComponent: true,
});
Vue.use(Vant);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
